package com.mazihao.emos.service;

import com.mazihao.emos.db.pojo.TbUser;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Set;

public interface UserService {
    public int registerUser(String registerCode, String code, String nickname, String photo);

    public Set<String> searchUserPermissions(int userId);

    public Integer login(String code);

    public TbUser searchById(int userId);

    public String searchUserHireDate(int userId);

    public HashMap<String, Object> searchUserSummary(int userId);

    public ArrayList<HashMap<String, Object>> searchUserGroupByDept(String keyword);

    public ArrayList<HashMap<String, Object>> searchMembers(List<Integer> params);
}
